@import '../_custom-variables/pages';

$clients-content-bg: transparent !default;
$clients-sidebox-bg: #f3f3f3 !default;
$clients-sidebox-width: 20rem !default;
$clients-transition-duration: .2s !default;

// Make wrapper full page height
.clients-wrapper {
  position: relative;
  display: flex;
  overflow: hidden;
  flex: 1 1 100%;
  width: 100%;
}

.clients-sidebox,
.clients-content {
  transition: all $clients-transition-duration;
}

.clients-content {
  background: $clients-content-bg;
}

.clients-sidebox {
  position: fixed;
  top: 0;
  right: -$clients-sidebox-width;
  height: 100%;
  width: $clients-sidebox-width;
  background: $clients-sidebox-bg;
}

.layout-sidenav-100vh .clients-sidebox {
  height: 100vh;
}

.clients-sidebox-open .clients-sidebox {
  right: 0;
}

.clients-sidebox-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  display: block;
  line-height: 1;
}

.clients-table tr,
.clients-table tr > * {
  cursor: pointer;
}

.clients-scroll {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
}

.material-style {
  @import "../_shreerang/include-material";

  .clients-sidebox {
    z-index: $zindex-layout-fixed + 1;
  }

  @include media-breakpoint-up(lg) {
    .clients-sidebox {
      position: absolute;
      z-index: 1;
    }

    .clients-sidebox-open .clients-content {
      right: $clients-sidebox-width;
    }
  }
}
